<%--
  Created by IntelliJ IDEA.
  User: 92329
  Date: 2018/4/16
  Time: 14:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <script type="application/x-javascript">
        addEventListener("load",
            function() {setTimeout(hideURLbar, 0); }, false);
            function hideURLbar(){ window.scrollTo(0,1); }
    </script>

    <title>登录</title>
    <script src="${pageContext.request.contextPath}/resources/js/jquery-1.11.1.min.js" type="text/javascript"></script>
    <link href="${pageContext.request.contextPath}/resources/css/loginStyle.css" rel='stylesheet' type='text/css' />

    <script>
       /* function dologin() {
            var param=$("#loginForm").serialize();
            $.post("")
        }*/
       $(function () {
           var msg='${requestScope.msg}';
           if(msg!=""){
               alert(msg);
           }
       })

    </script>
</head>
<body>
<h1>中原彼得堡航空学院<br>后台登陆</h1>
<div class="login-form">
    <form id="loginForm"action="${pageContext.request.contextPath}/dologin" method="post">
        <input type="text" class="text" name="username"  placeholder="用户名" >
        <input type="password" name="password" placeholder="密码">
        <div class="signin">
            <input type="submit" value="登录" >
        </div>
    </form>


</div>
<div class="copy-rights">
    <p>copyright@2018 Zhongyuan-Petersburg Aviation College.All Rights Reserved</p>
    <p>中原彼得堡航空学院 版权所有 豫ICP16018499</p>
</div>

</body>
</html>
